﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyMES.Domain.yjb
{
    // 仓库设置表
    public class Warehouse
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int warehouseId { get; set; }
        /// <summary>
        /// 仓库编码，用于唯一标识仓库
        /// </summary>
        public string WarehouseCode { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }
        /// <summary>
        /// 仓库位置
        /// </summary>
        public string warehouseposition { get; set; }
        /// <summary>
        /// 仓库面积
        /// </summary>
        public double Warehousearea { get; set; }
        /// <summary>
        /// 仓库负责人
        /// </summary>
        public string Warehousepeople { get; set; }
        /// <summary>
        /// 是否冻结，true表示冻结，false表示未冻结
        /// </summary>
        public bool IsFrozen { get; set; }
        /// <summary>
        /// 备注信息
        /// </summary>
        public string Warehousenotes { get; set; }
        /// <summary>
        /// 外键
        /// </summary>
        public int libraryId {  get; set; }
        /// <summary>
        /// 删除键
        /// </summary>
        public bool IsDelete {  get; set; }
    }
}
